package com.niodata.dp.monitor.components.task.monitor;

import com.niodata.dp.monitor.core.task.TaskExecutionManager;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

public class ExecutionStatusAlertJob implements Job {

  @Autowired
  @Qualifier("taskManagerImpl")
  private TaskExecutionManager taskManager;

  @Override
  public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
    //check error
    //check exec at specified V  CCtime
    //check toolong execution
  }
}
